package com.gzk.oeno.tech.ui.page;

import javax.swing.JPanel;

public abstract class PageableDisplayer<T> extends JPanel{

	public PageableDisplayer(){} // For reflection
	
	protected void setDataToDisplay(T data){
		buildDataComponent(data);
		revalidate();
		repaint();
	}
	
	protected abstract void buildDataComponent(T data);
	
}
